//
//  UIImage+UseExt.swift
//  jiurongjk
//
//  Created by cabinzhao on 3/1/17.
//  Copyright © 2017 xuewei. All rights reserved.
//

import UIKit

extension UIImage {
    
    class func imageWithOriginalImage(name:String) -> UIImage {
        let img = UIImage(named: name)
        if let realImage = img?.withRenderingMode(.alwaysOriginal) {
            return realImage
        } else {
            return img!
        }
    }
}
